package com.dragon.connector.imServer.session.dao;

import com.dragon.connector.imServer.session.entity.SessionCache;
import com.dragon.connector.imServer.session.entity.UserCache;

public interface UserCacheDAO {
    void save(UserCache userCache);

    UserCache get(String userId);

    void addSession(String uid, SessionCache session);

    void removeSession(String uid, String sessionId);
}
